Warning (2): Undefined array key "User" [APP/Controller/UsersController.php, line 949]Code Context {
$user = $this->User->findByUsername($param);
$id = $user['User']['id'];
UsersController::view() - APP/Controller/UsersController.php, line 949
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80
Warning (2): Trying to access array offset on value of type null [APP/Controller/UsersController.php, line 949]Code Context {
$user = $this->User->findByUsername($param);
$id = $user['User']['id'];
UsersController::view() - APP/Controller/UsersController.php, line 949
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80